package com.pet.server.ext.data;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.pet.server.ext.Config;

public class RequestInfo {

	public Integer id,user_id,cnt=0,score,vote_count,answer_id;
	public String question,state,nick_name,ico_path,type,sex="male",is_vote="0";
	public Date create_time;
	public Integer base_score=Config.getInteger("base.score", 20);
	public AnswerInfo answer;
	public List<Option> options=new ArrayList<Option>();
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getUser_id() {
		return user_id;
	}
	public void setUser_id(Integer userId) {
		user_id = userId;
	}
	public String getQuestion() {
		return question;
	}
	public void setQuestion(String question) {
		this.question = question;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public Date getCreate_time() {
		return create_time;
	}
	public void setCreate_time(Date createTime) {
		create_time = createTime;
	}
	public Integer getCnt() {
		return cnt;
	}
	public void setCnt(Integer cnt) {
		this.cnt = cnt;
	}
	public String getNick_name() {
		return nick_name;
	}
	public void setNick_name(String nickName) {
		nick_name = nickName;
	}
	public String getIco_path() {
		return ico_path;
	}
	public void setIco_path(String icoPath) {
		ico_path = icoPath;
	}
	public Integer getScore() {
		return score;
	}
	public void setScore(Integer score) {
		this.score = score;
	}
	
	public AnswerInfo getAnswer() {
		return answer;
	}
	public void setAnswer(AnswerInfo answer) {
		this.answer = answer;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public List<Option> getOptions() {
		return options;
	}
	public void setOptions(List<Option> options) {
		this.options = options;
	}
	public String getIs_vote() {
		return is_vote;
	}
	public void setIs_vote(String isVote) {
		is_vote = isVote;
	}
	public Integer getVote_count() {
		return vote_count;
	}
	public void setVote_count(Integer voteCount) {
		vote_count = voteCount;
	}
	public Integer getAnswer_id() {
		return answer_id;
	}
	public void setAnswer_id(Integer answerId) {
		answer_id = answerId;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public Integer getBase_score() {
		return base_score;
	}
	public void setBase_score(Integer base_score) {
		this.base_score = base_score;
	}
	
}
